package com.minsheng.epidemic_rep.dao;

import com.minsheng.epidemic_rep.config.MyDataSource;
import com.minsheng.epidemic_rep.entity.DatabaseType;
import com.minsheng.epidemic_rep.entity.FeverClinics;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Classname FeverClinicsDao
 * @Description 发热门诊数据
 * @Date 2020/9/28 16:21
 * @Created by You
 */
@Repository
public interface FeverClinicsDao {
    /**
     * 查询七日内发热门诊病人数据
     * @param
     * @return
     */
    @MyDataSource(type = DatabaseType.MASTER)
    public List<FeverClinics> findAll(@Param("startTime") String starTime, @Param("endTime") String endTime);
}
